<template>
    <div>
        Bar
        <el-button @click="handleClick">
            handleClick
        </el-button>
    </div>
</template>

<script>
export default {
    methods: {
        handleClick() {
            console.log('window.history.length',window.history.length);
            //window.history.length > 1 ? this.$router.go(-1) : this.$router.push('/');
        },
    },
}
</script>

<style lang='scss' scoped>
</style>